package com.dkm.biz.ou.repository.impl;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.base.db.persistence.dao.IQueryDao;
import com.dkm.biz.repository.AbstractRepository;
import com.dkm.biz.ou.domain.MeFinance;
import com.dkm.biz.ou.repository.MeFinanceRepository;
import com.dkm.biz.ou.persistence.dao.MeFinanceQueryDao;
import com.dkm.biz.ou.persistence.entity.MeFinancePo;

/**
 * 对象功能:t_me_finance Repository接口的实现类
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-07-21 17:38:39
 */
@Repository
public class MeFinanceRepositoryImpl extends AbstractRepository<String, MeFinancePo,MeFinance> implements MeFinanceRepository{
	  
	@Resource
	private  MeFinanceQueryDao meFinanceQueryDao;

	public MeFinance newInstance() {
		MeFinancePo po = new MeFinancePo();
		MeFinance meFinance = SpringHelper.getBean(MeFinance.class);
		meFinance.setData(po);
		return meFinance;
	}

	public MeFinance newInstance(MeFinancePo po) {
		MeFinance meFinance = SpringHelper.getBean(MeFinance.class);
		meFinance.setData(po);
		return meFinance;
	} 
	
	@Override
	protected IQueryDao<String, MeFinancePo> getQueryDao() {
		return meFinanceQueryDao;
	}
	
}
